package com.ls.example.TestSetterDI;

import java.util.List;
import java.util.Map;
import java.util.Properties;
import java.util.Set;

public class JavaCollection {
    private List list;
    private Set set;
    private Map map;
    private Properties prop;

    public JavaCollection(){

    }
    public JavaCollection(List list, Set set, Map map, Properties prop) {
        this.list = list;
        this.set = set;
        this.map = map;
        this.prop = prop;
    }

    public List getList() {
        return list;
    }

    public void setList(List list) {
        this.list = list;
    }

    public Set getSet() {
        return set;
    }

    public void setSet(Set set) {
        this.set = set;
    }

    public Map getMap() {
        return map;
    }

    public void setMap(Map map) {
        this.map = map;
    }

    public Properties getProp() {
        return prop;
    }

    public void setProp(Properties prop) {
        this.prop = prop;
    }

    @Override
    public String toString() {
        return "JavaCollection{" +
                "list=" + list +
                ", set=" + set +
                ", map=" + map +
                ", prop=" + prop +
                '}';
    }
}
